<?php

    define('ABSOLUTE_SERVER_DOCUMENT_ROOT','../../../admin/');

    ob_start();
	
    include(ABSOLUTE_SERVER_DOCUMENT_ROOT.'session.inc');
    require_once(ABSOLUTE_SERVER_DOCUMENT_ROOT.'funct.inc');
    include ABSOLUTE_SERVER_DOCUMENT_ROOT.'color_style.php';

    include '../../'.LANGUAGE;

    if(!GetAdminID($ID)){echo LOGIN_ERR; exit;}
    if(!Right_Check(4)){header('Location:'.ABSOLUTE_SERVER_DOCUMENT_ROOT.'error.php'); exit;}
?>

<html>

<head>

<title>Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250" />
<style>
<!--
body
{
        margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;
}

table
{

    margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;

    border-bottom-color: red;
    border-top-color: red;
    border-left-color: red;
    border-right-color: red;
    border-collapse: collapse;
}

iframe
{
        margin-left:0pt;
        margin-right:0pt;
        margin-top:0pt;
        margin-bottom:0pt;
}

form
{
        margin-top:0px;
        margin-bottom:0px
}

img {margin-top:0pt; margin-bottom:0px;}

a {text-decoration: none; font-weight: normal; color:black; font-size:12px;}
a:hover {text-decoration: none; font-weight: bold; color:blue; font-size:12px;}

-->
</style>

</head>

<?php
print "<body bgcolor=\"".Background_Color."\">";
print"

			<iframe src=\"adm_menu.php?ProductID=".$_REQUEST['ProductID']."\" name=\"menu\" scrolling=\"Auto\"
			     width=\"155px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
			     frameborder=\"No\" border=\"0\"
			     style=\"position:absolute;left:0px;top:0px;\"
			></iframe>
			<iframe src=\"adm_contents.php\" name=\"contents\" valign=\"top\" scrolling=\"Auto\"
			     width=\"505px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
			     frameborder=\"No\" border=\"0\"
			     style=\"position:absolute;left:155px;top:0px;\"
			></iframe>   
			<iframe src=\"adm_show_selected_products.php?ProductID=".$_REQUEST['ProductID']."&Reset_Cookie=".$_REQUEST['Reset_Cookie']."\" name=\"selected\" valign=\"top\" scrolling=\"Auto\"
			     width=\"340px\" height=\"100%\" marginwidth=\"0\" marginheight=\"0\"
			     frameborder=\"No\" border=\"0\"
			     style=\"position:absolute;left:660px;top:0px;\"
			></iframe>
			     
";
?>
</body>
</html>
